package com.calvin.spring2.startAop;

public class Main {
    public static void main(String[] args) {
        ACalculator target = null;
        target = new ACalculatorImpl();

        ACalculator proxy = new ACalculatorLoggingProxy(target).getLoggingProxy();


        proxy.add(1, 2);
        proxy.mul(4, 2);
        proxy.sub(2, 1);
    }
}
